package classDemo;

public class Demo7 {
	public static void main(String[] args) {
		//Koo koo = new Koo();
		Foo.Koo koo = new Foo.Koo();
	}
}

class Foo{
	public int a =12;
	public static int b =24;
	
	static class Koo{
		public int show(){
			//return a;//静态内部类只能访问外界类的静态属性，开发中尽量少用
			return b;
		}
	}
}
